<template>
  <view class="content">
    <Navbar :title="title" />
    <scroll-view scroll-y class="main">
      <Swiper />
      <Catitems />
      <Floor />
    </scroll-view>
  </view>
</template>

<script>
import Catitems from "./components/Catitems";
import Floor from "./components/Floor.vue";
export default {
  components: { Catitems, Floor },
  data() {
    return {
      title: "黑马优购",
      name: "hhhh",
    };
  },
  onLoad() {},
  methods: {},
};
</script>

<style>
.content {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.main {
  flex: 1;
  overflow: hidden;
}
</style>
